﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x02000809 RID: 2057
	[StructLayout(LayoutKind.Sequential, Pack = 4)]
	public struct RenderModel_t_Packed
	{
		// Token: 0x06002F29 RID: 12073 RVA: 0x000F403C File Offset: 0x000F223C
		public RenderModel_t_Packed(RenderModel_t unpacked)
		{
			this.rVertexData = unpacked.rVertexData;
			this.unVertexCount = unpacked.unVertexCount;
			this.rIndexData = unpacked.rIndexData;
			this.unTriangleCount = unpacked.unTriangleCount;
			this.diffuseTextureId = unpacked.diffuseTextureId;
		}

		// Token: 0x06002F2A RID: 12074 RVA: 0x000F408C File Offset: 0x000F228C
		public void Unpack(ref RenderModel_t unpacked)
		{
			unpacked.rVertexData = this.rVertexData;
			unpacked.unVertexCount = this.unVertexCount;
			unpacked.rIndexData = this.rIndexData;
			unpacked.unTriangleCount = this.unTriangleCount;
			unpacked.diffuseTextureId = this.diffuseTextureId;
		}

		// Token: 0x04002E98 RID: 11928
		public IntPtr rVertexData;

		// Token: 0x04002E99 RID: 11929
		public uint unVertexCount;

		// Token: 0x04002E9A RID: 11930
		public IntPtr rIndexData;

		// Token: 0x04002E9B RID: 11931
		public uint unTriangleCount;

		// Token: 0x04002E9C RID: 11932
		public int diffuseTextureId;
	}
}
